package cn.tedu.egmybatis5.mapper;

import cn.tedu.egmybatis5.pojo.entity.Product;
import cn.tedu.egmybatis5.pojo.vo.ProductVo1;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);

    ProductVo1 selectSingleProduct(int pid);
    int deleteById(int pid);

    int deleteByIds(List<Integer> ids);

    int dynamicUpdate(int id);

    int selectCount();
}
